package com.webside.trailerManagement.service;

import java.util.List;
import java.util.Map;

import com.webside.series.model.SeriesEntity;
import com.webside.trailerManagement.model.VideoFromWebEntity;
import com.webside.util.PageUtil;

public interface VideoFromWebService {
	// 分页查询
	public List<VideoFromWebEntity> queryListByPage(Map<String, Object> parameter);

	// 查询
	public VideoFromWebEntity findById(Long id);

	// 修改
	public int update(VideoFromWebEntity videoFromWebEntity);

	// 刪除
	public int deleteBatchById(List<Long> roleIds);

	// 上线
	public int updateOnline(List<Long> roleIds);

	// 下线
	public int updateOffline(List<Long> roleIds);
	//绑定剧集
	public int bindVideo(int id,List<Integer> ids);
	//解除绑定剧集
	public int unbindVideo(int id);
	public List<VideoFromWebEntity> findListByBindid(PageUtil pageUtil, int bindid,String sort);
}
